
\newcommand{\salt}{\vspace*{2.5mm}}     %Maia, 06.05.98
\newcommand{\ap}{@}

\usepackage[inner=4cm,outer=4cm]{geometry}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Paper Macros  %%%%%%%%%%%
\def\frameqed{\framebox(4.25,9.75){}}
%\def\frameqed{\framebox(4.25,11.75){}}
\def\dashqed{\dashbox{2.71}(3.5,9.00){}}
\def\ruleqed{\rule{5.25\unitlength}{12.75\unitlength}}
\def\myqed{\rule{8.00\unitlength}{14.00\unitlength}}

\def\boxit#1{\vbox{\hrule\hbox{\vrule\kern2pt
 \vbox{\kern4pt#1\kern2pt}\kern2pt\vrule}\hrule}}
\def\qed{\hfill
 $\hskip0.3cm
 \boxit{\hsize 2pt \vsize 10pt}$\bigskip\noindent}
%\def\qed{\hbox{\hskip 6pt\vrule width7pt height11pt depth1pt \hskip3pt}
%\bigskip}


%\def\subsetneq{\subseteq_{\hskip-.16cm /} }
%\def\subsetneq{\subseteq_{\hskip-.19cm /} }
%\def\subsetneq{\stackrel{\subset}{\ne}}

\def\ds{\displaystyle}
%%
\def\bbbone{{\mathchoice {\rm 1\mskip-4mu l} {\rm 1\mskip-4mu l}
{\rm 1\mskip-4.5mu l} {\rm 1\mskip-5mu l}}}
%% Multimea numerelor complexe
\def\C{{\mathchoice {\setbox0=\hbox{$\displaystyle\rm C$}\hbox{\hbox
to0pt{\kern0.4\wd0\vrule height0.9\ht0\hss}\box0}}
{\setbox0=\hbox{$\textstyle\rm C$}\hbox{\hbox
to0pt{\kern0.4\wd0\vrule height0.9\ht0\hss}\box0}}
{\setbox0=\hbox{$\scriptstyle\rm C$}\hbox{\hbox
to0pt{\kern0.4\wd0\vrule height0.9\ht0\hss}\box0}}
{\setbox0=\hbox{$\scriptscriptstyle\rm C$}\hbox{\hbox
to0pt{\kern0.4\wd0\vrule height0.9\ht0\hss}\box0}}}}
%% Multimea numerelor rationale
\def\Q{{\mathchoice {\setbox0=\hbox{$\displaystyle\rm
Q$}\hbox{\raise
0.15\ht0\hbox to0pt{\kern0.4\wd0\vrule height0.8\ht0\hss}\box0}}
{\setbox0=\hbox{$\textstyle\rm Q$}\hbox{\raise
0.15\ht0\hbox to0pt{\kern0.4\wd0\vrule height0.8\ht0\hss}\box0}}
{\setbox0=\hbox{$\scriptstyle\rm Q$}\hbox{\raise
0.15\ht0\hbox to0pt{\kern0.4\wd0\vrule height0.7\ht0\hss}\box0}}
{\setbox0=\hbox{$\scriptscriptstyle\rm Q$}\hbox{\raise
0.15\ht0\hbox to0pt{\kern0.4\wd0\vrule height0.7\ht0\hss}\box0}}}}
%%
\def\T{{\mathchoice {\setbox0=\hbox{$\displaystyle\rm
T$}\hbox{\hbox to0pt{\kern0.3\wd0\vrule height0.9\ht0\hss}\box0}}
{\setbox0=\hbox{$\textstyle\rm T$}\hbox{\hbox
to0pt{\kern0.3\wd0\vrule height0.9\ht0\hss}\box0}}
{\setbox0=\hbox{$\scriptstyle\rm T$}\hbox{\hbox
to0pt{\kern0.3\wd0\vrule height0.9\ht0\hss}\box0}}
{\setbox0=\hbox{$\scriptscriptstyle\rm T$}\hbox{\hbox
to0pt{\kern0.3\wd0\vrule height0.9\ht0\hss}\box0}}}}
%%
%\def\S{{\mathchoice
%{\setbox0=\hbox{$\displaystyle     \rm S$}\hbox{\raise0.5\ht0\hbox
%to0pt{\kern0.35\wd0\vrule height0.45\ht0\hss}\hbox
%to0pt{\kern0.55\wd0\vrule height0.5\ht0\hss}\box0}}
%{\setbox0=\hbox{$\textstyle        \rm S$}\hbox{\raise0.5\ht0\hbox
%to0pt{\kern0.35\wd0\vrule height0.45\ht0\hss}\hbox
%to0pt{\kern0.55\wd0\vrule height0.5\ht0\hss}\box0}}
%{\setbox0=\hbox{$\scriptstyle      \rm S$}\hbox{\raise0.5\ht0\hbox
%to0pt{\kern0.35\wd0\vrule height0.45\ht0\hss}\raise0.05\ht0\hbox
%to0pt{\kern0.5\wd0\vrule height0.45\ht0\hss}\box0}}
%{\setbox0=\hbox{$\scriptscriptstyle\rm S$}\hbox{\raise0.5\ht0\hbox
%to0pt{\kern0.4\wd0\vrule height0.45\ht0\hss}\raise0.05\ht0\hbox
%to0pt{\kern0.55\wd0\vrule height0.45\ht0\hss}\box0}}}}
%% Multimea numerelor intregi
\def\Z{{\mathchoice {\hbox{$\sf\textstyle Z\kern-0.4em Z$}}
{\hbox{$\sf\textstyle Z\kern-0.4em Z$}}
{\hbox{$\sf\scriptstyle Z\kern-0.3em Z$}}
{\hbox{$\sf\scriptscriptstyle Z\kern-0.2em Z$}}}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%        Cadre gen ``teorema''
%
%
% Demonstratia
\newenvironment{grproof}
     {\trivlist \item[\hskip \labelsep{\bf Proof}:]}
     {\hfill\quad\quad \qed {\endtrivlist}}
              %$\frameqed$\endtrivlist
              %$\ruleqed$\endtrivlist
              %$\dashqed$\endtrivlist
              %$\Box$\endtrivlist
%     }
%
%end cadre ``theorem''

%% Numerotaera ecuatilor
\newcommand{\eqnoone}  %normala (fara section) - un numar
   {\renewcommand{\theequation}{\arabic{equation}}}
\newcommand{\eqnotwo}  %cu sectiuni - doua numere
   {\renewcommand{\theequation}{\thesection.\arabic{equation}}}



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% cadre organizatorice
\newcounter{alf}
\newcounter{bibi}
%\setcounter{alf}{0}
%yogi, amsmath.sty \newcommand{\dfrac}[2]{\displaystyle\frac{#1}{#2}}
\newcommand{\dlim}[1]{\displaystyle\lim_{#1}}
\newcommand{\ddlim}{\displaystyle\lim}
%\setlength{\unitlength}{0.5mm}
%\newcommand{\notdiv}{\mid\vspace{-5mm}/\vspace{5mm}}
%% Dupa fiecare articol
\newcommand{\zerorizare}
                        {
                        \setcounter{alf}{0}
                        \setcounter{section}{0}
                        \setcounter{equation}{0}
                        %\setcounter{rteo}{0}
                        %\setcounter{cor}{0}
                        \setcounter{lemmax}{0}
                        \setcounter{propx}{0}
                        %\setcounter{rmk}{0}
                        %\setcounter{rcon}{0}
                        %\setcounter{defn}{0}
                        %\setcounter{prob}{0}
                        %\setcounter{rex}{0}
                        \setcounter{theo}{0}
%maia
                        \setcounter{theop}{0}
                        \setcounter{corx}{0}
                        \setcounter{examplex}{0}
                        %\setcounter{footnote}{0}
                        \setcounter{notax}{0}
                        \setcounter{fnot}{0}
                        \sloppy
                        }
%%
\newcommand{\adresa}[1]{\par\vspace*{-11pt}
                        \begin{flushright}
                        {\small
                        #1}
                        \end{flushright}
                        }
\newcommand{\vadresa}{\par\vspace*{-11pt}\noindent
\small                  \begin{minipage}[t]{8cm}
                        \end{minipage}
                        }
